package com.starview.star.compiler.cafe.compile;


import com.starview.platform.data.type.Location;
import com.starview.star.compiler.ErrorReport;
import com.starview.star.compiler.cafe.compile.cont.IContinuation;

public interface VarPattern
{
  /**
   * Invoked by the pattern code generator. Typically either a pattern match or an assignment
   */
  void varPttrn(ISpec src, Location loc, String name, ErrorReport errors, CafeDictionary dict, IContinuation succ, IContinuation fail,
      CodeContext ccxt);
}
